package com.hsogoo.avatar.sequence;

/**
 * Created by za-huangsaigang on 2018/10/23.
 */
public class DefaultKeyGenerator implements KeyGenerator {

    @Override
    public Long generateSequence() {
        WorkerId worker = new WorkerId(1,1,1);
        return worker.nextId();
    }
}
